package com.jy.rhin.facade.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DocumentModule {

    @ApiModelProperty( value = "节点列表")
    List<DocumentNode> nodes;
    @ApiModelProperty( value = "模块名称")
    String name;
    @ApiModelProperty( value = "模块路径")
    String url;


    public DocumentModule(String name){
        this.name =name ;
        nodes = new ArrayList<>();
    }

    public DocumentModule(String name,String url){
        this.name =name ;
        this.url = url;
        nodes = new ArrayList<>();
    }

}
